<!-- 组件说明 -->
<template>
  <div class="howtomkmn" style="width: 100%;min-height: 100vh;">
    <goback :title="''"></goback>
    <div class="title">APP Usage</div>
    <div class="content" v-for="(item,index) in content" :key="index">
      <p>{{ item.title }}</p>
      <span @click="openCheck(index)" :class="item.if_txtov?'_txtov3':''">{{ item.contents }}</span>
    </div>
<!--    <div class="content">-->
<!--      <p>View detailed instructions for using the software in PDF ?</p>-->
<!--      <span style="color: red;" @click="openPdf">Check it out immediately !</span>-->
<!--    </div>-->
  </div>
</template>

<script>
export default {
  name: "howtomkmn",
  data() {
    return {
      img: require("@/assets/imgs/index/defaultPic.png"),
      content:[
        {
          title:'What is Ugo?',
          contents:'Ugo is a welfare platform that can generate points as long as you run, and points can be exchanged for reward at a certain rate.',
          if_txtov:true,
        },
        {
          title:'What is the background of Ugo?',
          contents:'Since the outbreak of the 2019 COVID-19, people can only stay at home, lack of exercise, and thus have a great impact on people\'s health. According to incomplete statistics, since the epidemic, the growth rate of human obesity has reached 78%, and the growth rate of health diseases caused by the reduction of body immunity is as high as 66%. Human health problems will become the biggest opponent of human survival. In this regard, the World Health Organization, the international track and field Federation and many philanthropists jointly established Ugo running platform, and specially allocated US $200 million to reward people who love running and health, so as to re arouse people\'s health awareness. They can run and exercise even at home, and for those who can\'t go out to work affected by the epidemic, running can not only make their bodies strong, It can also increase income.',
          if_txtov:true,
        },
        {
          title:'How to join Ugo?',
          contents:'This is the first step to rebuild your wealth. You only need to recommend or download ugoapp directly through friends and register with your mobile phone number. Ugo will record your steps in real time, and then reward you with cash through conversion. Registration is all free, so that all people fall in love with sports.',
          if_txtov:true,
        },
        {
          title:'How does Ugo achieve revenue?',
          contents:'As long as you have steps, you can have income. In order to ensure that you don\'t exercise too much, Ugo records a maximum of 15000 steps per day, and the basic exchange rate is 0.4 per 10000. Your income on that day is 150000x0.00004 = 0.6 yuan points. In other words, you don\'t do anything. Just walking will earn 0.6 yuan a day. Because you are running every day, the larger the base, the higher your income in the future.',
          if_txtov:true,
        },
        {
          title:'In addition to walking, what other ways to increase income?',
          contents:'We encourage you to share your sports videos. You can upload your videos to Ugo platform. Each video uploaded will increase the cash conversion rate by 0.5 per 10000. You can upload up to 5 videos a day, and each account will accumulate no more than 20 videos. Then your conversion rate is 10 / 10000. If you walk 15000 steps a day, you will get 150000x (0.001 + 0.00004) = 15.6 yuan points.\n' +
              '\n' +
              'At the same time, you can invite your friends to participate in the exercise and walk to make money. When your friends like your videos, reaching 5 likes will increase the cash conversion rate by 0.5 per 10000. If you can order five videos every day, your conversion rate will increase by 2.5 per 10000. If you walk 15000 steps a day, you will get 150000x (0.001 + 0.00004 + 0.00025) = 19.35 yuan.\n',
          if_txtov:true,
        },
        {
          title:'Yes? Not enough income?',
          contents:'OK, you can also spend a small amount of cash to buy conversion rate props. Each props is worth 299 yuan, which can increase the rate of 1.2 of 20000, with a cycle of 7 days. At the same time, Ugo will enlarge your money for purchasing props by 10-15 times and then return it to you, that is, Ugo will return you at least 299x10 = 2990 points in the future for every 299 yuan of props you buy. At the same time, you can also increase the money you earn from walking, that is, 150000x (0.001 + 0.00004 + 0.00025 + 0.00012) = 21.25 yuan points. If the cycle is 7 days, you will get: 21.25x7 = 148.05 yuan points. You can buy multiple props at one time. The more you buy, the more you return, and the more money you earn walking.',

          if_txtov:true,
        },
        {
          title:'15000 steps is a little less. Shall I increase the steps?',
          contents:'Yes, we have walking aids, each worth 199 yuan. Similarly, Ugo will be returned to you at least 10 times in the future. Add 29999 steps to each walker, and you will get (15000 + 29999) x (0.001 + 0.00004 + 0.00025 + 0.00012) = 63.45 yuan points every day. And you return 10 times of 1990 yuan points.',

          if_txtov:true,
        },
        {
          title:'Why is it magnified 10 times and returned to me?',
          contents:'Because we will open Ugo health programs in more than 200 countries around the world at the same time, and more philanthropists and social organizations will join us. The funds you use to buy Ugo related products will not only enhance your Ugo sports income, but also operate around the world as an investment. We ensure that you increase your income by at least 1% every day (or more, depending on the global income situation). In other words, you can recover the income in 100 days at most, and you can earn it all from day 101. Coupled with your daily non-stop exercise, your return is unimaginable.',

          if_txtov:true,
        },
        {
          title:'Can you recover costs faster?',
          contents:'Yes, you can invite your friends to participate. If you invite Ugo platform records, you can get 5% cash reward for each consumption. Note, it\'s cash. In other words, if you buy 299 yuan props, you can get back the money as long as you invite 20 people to buy 299 yuan. The rest is earned by you, including the points you get from walking above and the people you invite in the future.',

          if_txtov:true,
        },
        {
          title:'What if I\'m not invited?',
          contents:'It doesn\'t matter. Ugo is a welfare platform. We can guarantee that as long as you walk 15000 steps every day, share sports videos and meet other conditions such as like conditions, you will earn 1 point every day, and the rest is earned from your forehead.',

          if_txtov:true,
        },
        {
          title:'Are points the same as rupees?',
          contents:'Yes, one dollar integral = one rupee.',

          if_txtov:false,
        },
        {
          title:'How to withdraw cash?',
          contents:'In order to protect the interests of Ugo players around the world, we set the daily withdrawal ratio to 5 / 10000. You can withdraw cash directly to your bank account, and the platform only charges 5% of the service fee.\n' +
              '\n' +
              'Ugo, the era of making money with feet is coming!\n' +
              'Ugo, spend 10000 and return 100000!\n' +
              'Ugo, trillion cash release, you can make money on foot!\n',

          if_txtov:true,
        },
      ]
    };
  },
  computed: {
    objSize: function() {
      return remNumber(720) * 3.3;
    }
  },
  methods: {
    openPdf(){
      let url ='http://ooo0o.com/e92c0202108102354016680.pdf';
      console.log(url);
      window.StepSDK.jumpUrl(url, "333");//1为app内 非1位app外部浏览器
    },
    openCheck(index){
      this.content.forEach(p=>{
        p.if_txtov=true;
      })
      this.content[index].if_txtov=false;
      this.content[this.content.length-2].if_txtov=false;
    },
    pageinit() {
      // this.get_inforeward();
      // this.get_inforewardtop10();
    }
  },
  mounted() {
    this.pageinit();
  },
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {} //如果页面有keep-alive缓存功能，这个函数会触发
};
</script>

<style lang="less" scoped>
@import url("./../../../assets/css/common.less");
.howtomkmn {
  color: #004889;
  background: linear-gradient(180deg, #00b1ff 0%, #0089ff 100%);
  padding: 0 0.4rem 0.4rem;
  box-sizing: border-box;
  .title {
    padding: 1.52rem 0 0;
    color: #fff;
    font-weight: bold;
    font-size: 0.4rem;
  }
  .content {
    margin: 0.5rem 0 0;
    p {
      line-height: 0.35rem;
      //height: 0.35rem;
      //color: #fff;
      color: #000;
      font-size: 0.32rem;
      margin-bottom: 5px;
    }
    span {
      line-height: 0.32rem;
      //height: 0.32rem;
      color: #fff;
      font-size: 0.28rem;
      //display: block;
      position: relative;
      &::after{
        content: '';
        width: 6.4rem;
        height: 5em;
        position: absolute;
        left: 0;
        bottom: 0;
        font-size: 11px;
        //background: rgba(255,255,255,0.6);
        display: none;
        background: linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 50%,rgba(255,255,255,0.5) 80% , rgba(255,255,255,0.9) 100%,);
      }
      &::before{
        content: 'Read more';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 6.4rem;
        text-align: center;
        color: red;
        font-size: 11px;
        z-index: 1;
        display:none ;
      }

      &._txtov3{
        &::after,&::before{
          display: block;
        }
      }
    }
  }
}
</style>
